Default connect to homepage agent - #30
Merged
Merged
Conversation
The transcription placeholder always claimed the agent was listening, even in rooms without an agent dispatch. Key the text off session.agent.isConnected so it reads 'Waiting for agent' until an agent participant is present and ready. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
The welcome screen indicator was keyed off agent.canListen, which is already true while pre-connect audio is buffering — before any agent participant exists. Replace it with a shared AgentStatusIndicator that shows 'Waiting for agent' (spinner) until an agent has joined and is ready, and only then 'Agent is listening'. The indicator is also overlaid on the agent screen in visualizer mode, so the waiting state persists across the screen transition until the agent actually joins; it hides on agent failure, where the session error banner takes over. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
MaxHeimbrock
marked this pull request as ready for review
July 31, 2026 14:49
hiroshihorie
approved these changes
Jul 31, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Background
We want to change the agent starter samples to auto-connect to our homepage agent by default to lower the entry barrier for new developers to talk to their first agent.
So now the devs first step is to install the app and talk to our agent, then learn how to deploy your agent and configure the tokens source.
Changes
.envfile intoassets/so it can be optionalassets/.envis present and sandbox id is filled